package com.ubox.mqtt_upush.domain;

import com.ubox.mqtt_upush.config.MqttBrokerConfig;

public class PushMsg {

	private String app;
	private String innerCode;
	private String topic;
	private int qos = MqttBrokerConfig.EXACTLY_ONCE;
	private Object msg;

	@Override
	public String toString() {
		return "PushMsg [app=" + app + ", innerCode=" + innerCode + ", topic=" + topic + ", qos=" + qos + ", msg=" + msg
				+ "]";
	}

	public String getApp() {
		return app;
	}

	public void setApp(String app) {
		this.app = app;
	}

	public String getInnerCode() {
		return innerCode;
	}

	public void setInnerCode(String innerCode) {
		this.innerCode = innerCode;
	}

	public int getQos() {
		return qos;
	}

	public void setQos(int qos) {
		this.qos = qos;
	}

	public  Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

}
